package com.study.repository;

import com.study.entity.Location;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Classname LocationRepository
 * @Version 1.0.0
 * @Date 2022/4/2 10:49
 * @Created by yd
 */
@Repository
public interface LocationRepository extends JpaRepository<Location, Long> {
	List<Location> getLocationsByType(String type);
}
